package com.qyhl.webtv.module_news.news.picturenews;


import com.qyhl.webtv.commonlib.entity.news.PictureBean;

/**
 * Created by qyhl on 2017/11/29.
 */

public interface PictureNewsContract {

    interface PictureNewsView {
        void setDetail(PictureBean bean);

        void setError(String msg);

        void setEmpty(String msg);

        void setNetError(String msg);

        void collectSuccess(String msg);

        void collectError(String msg);

        void cancelCollectSuccess();

        void cancelCollectError(String msg);

        void cancelCollect();

    }

    interface PictureNewsPresenter {
        void getDetail(String newsId);

        void count(String newsId);

        void collect(String newsId);

        void cancelCollect(String newsId);

        void setDetail(PictureBean bean);

        void setError(int code, String msg);

        void collectSuccess(String msg);

        void collectError(String msg);

        void cancelCollectSuccess();

        void cancelCollectError(String msg);

        void cancelCollect();
    }

    interface PictureNewsModel {
        void getDetail(String newsId);

        void count(String newsId);

        void collect(String newsId);

        void cancelCollect(String newsId);
    }
}
